﻿<%@ Page Language="C#" MasterPageFile="~/Poc.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="AdventureWorks.DashboardGroep7.Default1" Title="Untitled Page" %>

<asp:Content ID="mainContent" ContentPlaceHolderID="main" runat="server">

    <div ID="div_loginControls" runat="server"  style="background-color: #dadada; margin:5px;padding:5px; min-height: 125px;">
        <fieldset>
            <legend>Login</legend>
            <table border="0">
                <tr>
                    <td width="100px">Username: </td>
                    <td><asp:TextBox ID="txt_username" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td>Password: </td>
                    <td><asp:TextBox ID="txt_password" runat="server"></asp:TextBox></td>
                </tr>
            </table>
            <asp:Button ID="btn_login" runat="server" Text="Log me in" onclick="btn_login_Click" />
        </fieldset>
    </div>
    
    <div runat="server" ID="div_reportControls" style="background-color: #dadada; margin:5px;padding:5px; height: 300px; ">
        <fieldset>
            <legend>Report input</legend>
            <div runat="server" ID="div_content" style="border:1px solid #000; height:220px; " />
            <asp:Button ID="btn_submit" Text="submit" runat="server" onclick="btn_submit_Click" /> 
        </fieldset>
    </div>
    
    <div runat="server" ID="div_reportResult" style="background-color: #dadada; margin:5px;padding:5px;  min-height: 300px; ">
        <fieldset>
            <legend>Report result</legend>
            <div style="float: left">
                <asp:GridView ID="grd_report" runat="server" AllowSorting="True" CellPadding="4" 
                        ForeColor="#333333" GridLines="None">
                <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <EditRowStyle BackColor="#999999" />
                <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                </asp:GridView>   
            </div>
            <div style="float: right">
                <img alt="Chart" id="ChartImg" src="" runat="server" />
            </div>
        </fieldset>
    </div>

</asp:Content>
